/*
 * Copyright 2020-2021 redragon.dongbin
 *
 * This file is part of redragon-erp/赤龙ERP.

 * redragon-erp/赤龙ERP is free software: you can redistribute it and/or modify
 * it under the terms of the GNU General Public License as published by
 * the Free Software Foundation, either version 2 of the License, or
 * (at your option) any later version.

 * redragon-erp/赤龙ERP is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU General Public License for more details.

 * You should have received a copy of the GNU General Public License
 * along with redragon-erp/赤龙ERP.  If not, see <https://www.gnu.org/licenses/>.
 */
package com.erp.masterdata.common.param;

/**
 * @description
 * @date 2020年7月16日
 * @author dongbin
 * 
 */
public class MasterDataParam {
    
    //主数据缓存key
    
    //客户
    public static final String CUSTOMER_CACHE_KEY = "MD_CUSTOMER";
    //供应商
    public static final String VENDOR_CACHE_KEY = "MD_VENDOR";
    //个人供应商
    public static final String VENDOR_PERSON_CACHE_KEY = "MD_VENDOR_PERSON";
    
    //客户（我的公司）
    public static final String CUSTOMER_OWN_CACHE_KEY = "MD_CUSTOMER_OWN";
    //供应商（我的公司）
    public static final String VENDOR_OWN_CACHE_KEY = "MD_VENDOR_OWN";
    
    //物料
    public static final String MATERIAL_CACHE_KEY = "MD_MATERIAL";
    public static final String MATERIAL_MATERIAL_CACHE_KEY = "MD_MATERIAL_MATERIAL";
    public static final String MATERIAL_MATTER_CACHE_KEY = "MD_MATERIAL_MATTER";
    
    //项目
    public static final String PROJECT_CACHE_KEY = "MD_PROJECT";
    
    //科目
    public static final String SUBJECT_CACHE_KEY = "MD_SUBJECT";
    
    //明细科目
    public static final String SUBJECT_DETAIL_CACHE_KEY = "MD_SUBJECT_DETAIL";
    
    //公司
    public static final String COMPANY_CACHE_KEY = "MD_COMPANY";
    
    //成本中心
    public static final String COST_CENTER_CACHE_KEY = "MD_COST_CENTER";
    
    //费用项目
    public static final String EXPENSE_ITEM_CACHE_KEY = "MD_EXPENSE_ITEM";

    //是否删除（是）
    public static final String IS_DEL_YES = "1";

    //是否删除（否）
    public static final String IS_DEL_NO = "0";

    //物料类型名称(物料)
    public static final String MATERIAL_TYPE_NAME = "物料";

    //物料类型名称(服务)
    public static final String MATTER_TYPE_NAME = "服务";

    //物料类型(物料)
    public static final String MATERIAL_TYPE = "MATERIAL";

    //物料类型(服务)
    public static final String MATTER_TYPE = "MATTER";

    //物料类型(有效)
    public static final String MATERIAL_STATUS_Y = "Y";

    //物料类型(停用)
    public static final String MATERIAL_STATUS_N = "N";

    //发货单状态（已入库）
    public static final String DELIVERY_STATUS_Y = "Y";

    //发货单状态（未入库）
    public static final String DELIVERY_STATUS_N = "N";

    //入库类型（入库）
    public static final String INPUT_TYPE_IN = "IN";
    //入库类型（退货）
    public static final String INPUT_TYPE_RETURN = "RETURN";
    //入库类型（换货）
    public static final String INPUT_TYPE_SWAP = "SWAP";

    //单据状态（草稿）
    public static final String APPROVE_STATUS_UNSUBMIT = "UNSUBMIT";
    //单据状态（提交）
    public static final String APPROVE_STATUS_SUBMIT = "SUBMIT";
    //单据状态（审批通过）
    public static final String APPROVE_STATUS_APPROVE = "APPROVE";

    //退货名称
    public static final String RETURN_NAME = "退货";

    //换货名称
    public static final String SWAP_NAME = "换货";

    //状态新建
    public static final String STATUS_NEW = "NEW";
    
}
